const env: string | undefined = process.env.NODE_ENV

const configs: any = {
  // 生产环境
  production: {
    url: 'https://www.xxx.com/api',
  },
  // 开发环境
  development: {
    url: 'https://www.xxx.com/api',
  },
}

const envConfigs: {
  url: string
} = configs[env as string]

export default envConfigs
